Simple Question (Direct)
Simple Question
Q6769874
P1412
Q34770
USER
Which language is Mark Stone capable of writing ?
(Q6769874,P1412,c(Q34770))
action filter_type
action find
entity Q6769874
relation P1412
type Q34770
['Q6769874', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6769874 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
Mark Stone
action filter_type
action find
entity Mark Stone
relation languages spoken, written or signed
type language
['Mark Stone', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Mark_Stone property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6769874,P1412,c(Q34770))
action filter_type
action find
entity Q6769874
relation P1412
type Q34770
[ANSWER] is Mark Stone capable of writing
['Q6769874', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q6769874 property:P1412 ?f . ?f rdf:type ontology:Q34770 }
English
English is Mark Stone capable of writing
English
action filter_type
action find
entity Mark Stone
relation languages spoken, written or signed
type language
['Mark Stone', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Mark_Stone property:languages_spoken,_written_or_signed ?f . ?f rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6769874
P39
Q12737077
USER
What was the position held by Mark Stone ?
(Q6769874,P39,c(Q12737077))
action filter_type
action find
entity Q6769874
relation P39
type Q12737077
['Q6769874', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q6769874 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Mark Stone
action filter_type
action find
entity Mark Stone
relation position held
type occupation
['Mark Stone', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Mark_Stone property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q18180908
SYSTEM
member of the California State Assembly
Q18180908
(Q6769874,P39,c(Q12737077))
action filter_type
action find
entity Q6769874
relation P39
type Q12737077
The position held by Mark Stone was a [ANSWER]
['Q6769874', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q6769874 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
member of the California State Assembly
The position held by Mark Stone was a member of the California State Assembly
member of the California State Assembly
action filter_type
action find
entity Mark Stone
relation position held
type occupation
['Mark Stone', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Mark_Stone property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6769874
P937
Q5119
USER
What is the location where Mark Stone worked ?
(Q6769874,P937,c(Q5119))
action filter_type
action find
entity Q6769874
relation P937
type Q5119
['Q6769874', 'P937', {'concept': 'Q5119'}]
SELECT DISTINCT ?h WHERE { resource:Q6769874 property:P937 ?h . ?h rdf:type ontology:Q5119 }
Mark Stone
action filter_type
action find
entity Mark Stone
relation work location
type capital
['Mark Stone', 'work location', {'concept': 'capital'}]
SELECT DISTINCT ?h WHERE { resource:Mark_Stone property:work_location ?h . ?h rdf:type ontology:capital }
[]
capital
Q18013
SYSTEM
Sacramento
Q18013
(Q6769874,P937,c(Q5119))
action filter_type
action find
entity Q6769874
relation P937
type Q5119
The location Mark Stone worked is in [ANSWER]
['Q6769874', 'P937', {'concept': 'Q5119'}]
SELECT DISTINCT ?h WHERE { resource:Q6769874 property:P937 ?h . ?h rdf:type ontology:Q5119 }
Sacramento
The location Mark Stone worked is in Sacramento
Sacramento
action filter_type
action find
entity Mark Stone
relation work location
type capital
['Mark Stone', 'work location', {'concept': 'capital'}]
SELECT DISTINCT ?h WHERE { resource:Mark_Stone property:work_location ?h . ?h rdf:type ontology:capital }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1821881
Q5119
USER
And also tell me about Levin Coldewey?
(Q1821881,P937,c(Q5119))
action filter_type
action find
entity Q1821881
relation P937
type Q5119
['Q1821881', 'P937', {'concept': 'Q5119'}]
SELECT DISTINCT ?q WHERE { resource:Q1821881 property:P937 ?q . ?q rdf:type ontology:Q5119 }
Levin Coldewey
action filter_type
action find
entity Levin Coldewey
relation work location
type capital
['Levin Coldewey', 'work location', {'concept': 'capital'}]
SELECT DISTINCT ?q WHERE { resource:Levin_Coldewey property:work_location ?q . ?q rdf:type ontology:capital }
[]
capital
Q14839
SYSTEM
Aurich
Q14839
(Q1821881,P937,c(Q5119))
action filter_type
action find
entity Q1821881
relation P937
type Q5119
[ANSWER]
['Q1821881', 'P937', {'concept': 'Q5119'}]
SELECT DISTINCT ?q WHERE { resource:Q1821881 property:P937 ?q . ?q rdf:type ontology:Q5119 }
Aurich
Aurich
action filter_type
action find
entity Levin Coldewey
relation work location
type capital
['Levin Coldewey', 'work location', {'concept': 'capital'}]
SELECT DISTINCT ?q WHERE { resource:Levin_Coldewey property:work_location ?q . ?q rdf:type ontology:capital }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q14839 Q3101573
P937
Q502895
USER
Do George Francis Hampson have that capital as their work location ?
(Q3101573,P937,Q14839)
action is_in
entity Q3101573
action find
entity Q14839
relation P937
['Q3101573', 'P937', 'Q14839']
ASK WHERE { resource:Q14839 property:P937 resource:Q3101573 }
Aurich George Francis Hampson
action is_in
entity George Francis Hampson
action find
entity Aurich
relation work location
['George Francis Hampson', 'work location', 'Aurich']
ASK WHERE { resource:Aurich property:work_location resource:George_Francis_Hampson }
[]
common name
SYSTEM
NO
(Q3101573,P937,Q14839)
action is_in
entity Q3101573
action find
entity Q14839
relation P937
[ANSWER]
['Q3101573', 'P937', 'Q14839']
ASK WHERE { resource:Q14839 property:P937 resource:Q3101573 }
No
action is_in
entity George Francis Hampson
action find
entity Aurich
relation work location
['George Francis Hampson', 'work location', 'Aurich']
ASK WHERE { resource:Aurich property:work_location resource:George_Francis_Hampson }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6769874 Q82955
P106
Q12737077
USER
Is politician the profession of Mark Stone ?
(Q6769874,P106,Q82955)
action is_in
entity Q82955
action find
entity Q6769874
relation P106
['Q6769874', 'P106', 'Q82955']
ASK WHERE { resource:Q6769874 property:P106 resource:Q82955 }
Mark Stone politician
action is_in
entity politician
action find
entity Mark Stone
relation occupation
['Mark Stone', 'occupation', 'politician']
ASK WHERE { resource:Mark_Stone property:occupation resource:politician }
[]
occupation
SYSTEM
YES
(Q6769874,P106,Q82955)
action is_in
entity Q82955
action find
entity Q6769874
relation P106
[ANSWER]
['Q6769874', 'P106', 'Q82955']
ASK WHERE { resource:Q6769874 property:P106 resource:Q82955 }
Yes
action is_in
entity politician
action find
entity Mark Stone
relation occupation
['Mark Stone', 'occupation', 'politician']
ASK WHERE { resource:Mark_Stone property:occupation resource:politician }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6378699 Q1860
P361
Q5962346
USER
Which classification schemes are English or Kaugel language a portion of ?
OR((Q1860,P361,c(Q5962346)), (Q6378699,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q6378699
relation P361
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q6378699', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { { ?j property:P361 ?l . VALUES ( ?j ) { ( resource:Q1860 ) ( resource:Q6378699 ) } } . ?l rdf:type ontology:Q5962346 }
Kaugel language English
action filter_type
action union
action find
entity English
relation part of
action find
entity Kaugel language
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Kaugel language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { { ?j property:part_of ?l . VALUES ( ?j ) { ( resource:English ) ( resource:Kaugel_language ) } } . ?l rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q34018 Q5329170
SYSTEM
Anglic languages, trans–New Guinea languages, Anglo-Frisian languages
Q1346342 Q34018 Q5329170
OR((Q1860,P361,c(Q5962346)), (Q6378699,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q6378699
relation P361
type Q5962346
[ANSWERS] are English or Kaugel language a portion of
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q6378699', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?l WHERE { { ?j property:P361 ?l . VALUES ( ?j ) { ( resource:Q1860 ) ( resource:Q6378699 ) } } . ?l rdf:type ontology:Q5962346 }
Anglic languages trans–New Guinea languages Anglo-Frisian languages
Anglic languages, trans–New Guinea languages and Anglo-Frisian languages are English or Kaugel language a portion of
Anglic languages trans–New Guinea languages Anglo-Frisian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Kaugel language
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Kaugel language', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?l WHERE { { ?j property:part_of ?l . VALUES ( ?j ) { ( resource:English ) ( resource:Kaugel_language ) } } . ?l rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q1047113 Q874405 Q5962346
USER
Which classification schemes are a portion of max number of special fields or social groups ?
(c(Q5962346),P361,c(Q1047113)|c(Q874405))
action argmax
action union
action find_tuple_counts
relation P361
type Q5962346
type Q1047113
action find_tuple_counts
relation P361
type Q5962346
type Q874405
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?l WHERE { { ?l property:P361 ?p . ?l rdf:type ontology:Q5962346 . ?p rdf:type ontology:Q1047113 } UNION { ?l property:P361 ?p . ?l rdf:type ontology:Q5962346 . ?p rdf:type ontology:Q874405 } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?f WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1047113 ) ( ontology:Q874405 ) } } GROUP BY ?f } . FILTER ( ?j = ?g ) }
action argmax
action union
action find_tuple_counts
relation part of
type classification scheme
type special field
action find_tuple_counts
relation part of
type classification scheme
type social group
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'special field'}, {'concept': 'social group'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?l WHERE { { ?l property:part_of ?p . ?l rdf:type ontology:classification_scheme . ?p rdf:type ontology:special_field } UNION { ?l property:part_of ?p . ?l rdf:type ontology:classification_scheme . ?p rdf:type ontology:social_group } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?f WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:special_field ) ( ontology:social_group ) } } GROUP BY ?f } . FILTER ( ?j = ?g ) }
[]
special field social group classification scheme
Q205740 Q7007379 Q1481411
SYSTEM
Egyptian mythology, business process management, IT service management
Q205740 Q7007379 Q1481411
(c(Q5962346),P361,c(Q1047113)|c(Q874405))
action argmax
action union
action find_tuple_counts
relation P361
type Q5962346
type Q1047113
action find_tuple_counts
relation P361
type Q5962346
type Q874405
[ANSWERS] are a portion of max number of special fields or social groups
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1047113'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?l WHERE { { ?l property:P361 ?p . ?l rdf:type ontology:Q5962346 . ?p rdf:type ontology:Q1047113 } UNION { ?l property:P361 ?p . ?l rdf:type ontology:Q5962346 . ?p rdf:type ontology:Q874405 } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?f WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1047113 ) ( ontology:Q874405 ) } } GROUP BY ?f } . FILTER ( ?j = ?g ) }
Egyptian mythology business process management IT service management
Egyptian mythology, business process management and IT service management are a portion of max number of special fields or social groups
Egyptian mythology business process management IT service management
action argmax
action union
action find_tuple_counts
relation part of
type classification scheme
type special field
action find_tuple_counts
relation part of
type classification scheme
type social group
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'special field'}, {'concept': 'social group'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?l WHERE { { ?l property:part_of ?p . ?l rdf:type ontology:classification_scheme . ?p rdf:type ontology:special_field } UNION { ?l property:part_of ?p . ?l rdf:type ontology:classification_scheme . ?p rdf:type ontology:social_group } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?j ) ?f WHERE { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:special_field ) ( ontology:social_group ) } } GROUP BY ?f } . FILTER ( ?j = ?g ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q58778 Q874405 Q5962346
USER
Which classification schemes are a part of around the same number of systems and social groups as that classification scheme ?
(c(Q5962346),P361,c(Q58778)|c(Q874405))
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q58778'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?b ) { ( ?y ) ( ?x ) } . ?z property:P361 ?b } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q58778 . ?x rdf:type ontology:Q874405 }
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'system'}, {'concept': 'social group'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?b ) { ( ?y ) ( ?x ) } . ?z property:part_of ?b } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:system . ?x rdf:type ontology:social_group }
[]
system social group classification scheme
Comparative|More/Less|Mult. entity type|Clarification
Q7007379
SYSTEM
Did you mean business process management ?
(c(Q5962346),P361,c(Q58778)|c(Q874405))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q58778'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?b ) { ( ?y ) ( ?x ) } . ?z property:P361 ?b } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q58778 . ?x rdf:type ontology:Q874405 }
Did you mean business process management ?
business process management
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'system'}, {'concept': 'social group'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?b ) { ( ?y ) ( ?x ) } . ?z property:part_of ?b } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:system . ?x rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
USER
No, I meant IT service management. Could you tell me the answer for that?
(c(Q5962346),P361,c(Q58778)|c(Q874405))
Q1481411
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q58778'}, {'concept': 'Q874405'}]]
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'system'}, {'concept': 'social group'}]]
[]
SYSTEM
7
Q205740 Q294217 Q1063076 Q396188 Q1944497 Q591763 Q372449
(c(Q5962346),P361,c(Q58778)|c(Q874405))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q58778'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q58778 . ?x rdf:type ontology:Q874405 }
Egyptian mythology public sector voluntary sector Agricultural journalism Crop protection private sector Forest protection
7
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'system'}, {'concept': 'social group'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:system . ?x rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q14839 Q36312
P190
Q515
USER
How many cities are the sister cities of Aurich or Calgary ?
(Q14839,P190,c(Q515)) (Q36312,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q14839
relation P190
type Q515
action filter_type
action find
entity Q36312
relation P190
type Q515
['Q14839', 'P190', {'concept': 'Q515'}] ['Q36312', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ontology:Q515 . resource:Q14839 property:P190 ?f } UNION { resource:Q36312 property:P190 ?f . ?f rdf:type ontology:Q515 } }
Aurich Calgary
action count
action union
action filter_type
action find
entity Aurich
relation sister city
type city
action filter_type
action find
entity Calgary
relation sister city
type city
['Aurich', 'sister city', {'concept': 'city'}] ['Calgary', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ontology:city . resource:Aurich property:sister_city ?f } UNION { resource:Calgary property:sister_city ?f . ?f rdf:type ontology:city } }
[]
city
SYSTEM
4
Q20921 Q66485 Q11194 Q304848
(Q14839,P190,c(Q515)) (Q36312,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q14839
relation P190
type Q515
action filter_type
action find
entity Q36312
relation P190
type Q515
[ANSWER]
['Q14839', 'P190', {'concept': 'Q515'}] ['Q36312', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ontology:Q515 . resource:Q14839 property:P190 ?f } UNION { resource:Q36312 property:P190 ?f . ?f rdf:type ontology:Q515 } }
Daejeon Jaipur Sarajevo Daqing
4
action count
action union
action filter_type
action find
entity Aurich
relation sister city
type city
action filter_type
action find
entity Calgary
relation sister city
type city
['Aurich', 'sister city', {'concept': 'city'}] ['Calgary', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { ?f rdf:type ontology:city . resource:Aurich property:sister_city ?f } UNION { resource:Calgary property:sister_city ?f . ?f rdf:type ontology:city } }
[]