Simple Question (Direct)
Simple Question
Q3573631
P734
Q82799
USER
Who has the surname Yves Durand ?
(Q3573631,P734,c(Q82799))
action filter_type
action find
entity Q3573631
relation P734
type Q82799
['Q3573631', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q3573631 property:P734 ?i }
Yves Durand
action filter_type
action find
entity Yves Durand
relation family name
type name
['Yves Durand', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Yves_Durand property:family_name ?i }
[]
name
Q3041504
SYSTEM
Durand
Q3041504
(Q3573631,P734,c(Q82799))
action filter_type
action find
entity Q3573631
relation P734
type Q82799
[ANSWER] has the surname Yves [ANSWER]
['Q3573631', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q3573631 property:P734 ?i }
Durand
Durand has the surname Yves Durand
Durand
action filter_type
action find
entity Yves Durand
relation family name
type name
['Yves Durand', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Yves_Durand property:family_name ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3573631
P21
Q290
USER
What is the sex of Yves Durand ?
(Q3573631,P21,c(Q290))
action filter_type
action find
entity Q3573631
relation P21
type Q290
['Q3573631', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q3573631 property:P21 ?x . ?x rdf:type ontology:Q290 }
Yves Durand
action filter_type
action find
entity Yves Durand
relation gender
type sex
['Yves Durand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Yves_Durand property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3573631,P21,c(Q290))
action filter_type
action find
entity Q3573631
relation P21
type Q290
The sex of Yves Durand is a [ANSWER]
['Q3573631', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q3573631 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of Yves Durand is a male
male
action filter_type
action find
entity Yves Durand
relation gender
type sex
['Yves Durand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Yves_Durand property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3573631
P937
Q56061
USER
What is the location where that person worked ?
(Q6581097,P937,c(Q56061))
action filter_type
action find
entity Q3573631
relation P937
type Q56061
['Q6581097', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q3573631 property:P937 ?d }
Yves Durand
action filter_type
action find
entity Yves Durand
relation work location
type administrative territorial entity
['male', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Yves_Durand property:work_location ?d }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q6581097,P937,c(Q56061))
action filter_type
action find
entity Q3573631
relation P937
type Q56061
The location that person worked is in [ANSWER]
['Q6581097', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q3573631 property:P937 ?d }
Paris
The location that person worked is in Paris
Paris
action filter_type
action find
entity Yves Durand
relation work location
type administrative territorial entity
['male', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Yves_Durand property:work_location ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q17335294 Q15709879
USER
How many names are depicted in exactly 1 coats of arms and artwork series ?
(c(Q17335294)|c(Q15709879),P180,c(Q82799))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 1
[[{'concept': 'Q17335294'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?d WHERE { { ?e property:P180 ?d . ?d rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 } UNION { ?e property:P180 ?d . ?d rdf:type ontology:Q82799 . ?e rdf:type ontology:Q15709879 } } GROUP BY ?d } . FILTER ( ?o = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 1
[[{'concept': 'flag or coat of arms'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?d WHERE { { ?e property:depicts ?d . ?d rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms } UNION { ?e property:depicts ?d . ?d rdf:type ontology:name . ?e rdf:type ontology:artwork_series } } GROUP BY ?d } . FILTER ( ?o = 1 ) }
[]
name flag or coat of arms artwork series
SYSTEM
5
Q5 Q144 Q201251 Q43115 Q152
(c(Q17335294)|c(Q15709879),P180,c(Q82799))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 1
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?d WHERE { { ?e property:P180 ?d . ?d rdf:type ontology:Q82799 . ?e rdf:type ontology:Q17335294 } UNION { ?e property:P180 ?d . ?d rdf:type ontology:Q82799 . ?e rdf:type ontology:Q15709879 } } GROUP BY ?d } . FILTER ( ?o = 1 ) }
human dog peacock saint fish
5
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 1
[[{'concept': 'flag or coat of arms'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) ?d WHERE { { ?e property:depicts ?d . ?d rdf:type ontology:name . ?e rdf:type ontology:flag_or_coat_of_arms } UNION { ?e property:depicts ?d . ?d rdf:type ontology:name . ?e rdf:type ontology:artwork_series } } GROUP BY ?d } . FILTER ( ?o = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P159
Q334453
USER
Which divisions have headquarters located at that administrative territory ?
action filter_type
action find_reverse
entity Q90
relation P159
type Q334453
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q90 . ?u rdf:type ontology:Q334453 }
Paris
action filter_type
action find_reverse
entity Paris
relation headquarters location
type division
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Paris . ?u rdf:type ontology:division }
[]
division
Q20723082 Q15254007 Q3331225
SYSTEM
Universal Music France, MASQ, My Major Company
Q3214321 Q16959423 Q15254007 Q20723082 Q2869540 Q3331225 Q616975 Q3565108 Q20972119 Q2337027 Q3560636 Q3566715 Q20822757
action filter_type
action find_reverse
entity Q90
relation P159
type Q334453
[ANSWERS] have headquarters located at that administrative territory
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q90 . ?u rdf:type ontology:Q334453 }
Labels KW Music Group MASQ Universal Music France Atmosphériques My Major Company Ed Banger Records Wagram Music Lusafrica Naïve Records Virgin Classics Wati B PIAS France
Universal Music France, MASQ and My Major Company have headquarters located at that administrative territory
Universal Music France MASQ My Major Company
action filter_type
action find_reverse
entity Paris
relation headquarters location
type division
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Paris . ?u rdf:type ontology:division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q616381 Q3573631
P39
Q12737077
USER
Which occupations were the positions held by Yves Durand or Charles-Philippe Place ?
OR((Q3573631,P39,c(Q12737077)), (Q616381,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q3573631
relation P39
action find
entity Q616381
relation P39
type Q12737077
{'OR': [['Q3573631', 'P39', {'concept': 'Q12737077'}], ['Q616381', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . { { resource:Q3573631 property:P39 ?z } UNION { resource:Q616381 property:P39 ?z } } }
Charles-Philippe Place Yves Durand
action filter_type
action union
action find
entity Yves Durand
relation position held
action find
entity Charles-Philippe Place
relation position held
type occupation
{'OR': [['Yves Durand', 'position held', {'concept': 'occupation'}], ['Charles-Philippe Place', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . { { resource:Yves_Durand property:position_held ?z } UNION { resource:Charles-Philippe_Place property:position_held ?z } } }
[]
occupation
Q45722 Q14828018 Q49476
SYSTEM
cardinal, member of the Senate of France, archbishop
Q45722 Q14828018 Q49476
OR((Q3573631,P39,c(Q12737077)), (Q616381,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q3573631
relation P39
action find
entity Q616381
relation P39
type Q12737077
[ANSWERS] were the positions held by Yves Durand or Charles-Philippe Place
{'OR': [['Q3573631', 'P39', {'concept': 'Q12737077'}], ['Q616381', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . { { resource:Q3573631 property:P39 ?z } UNION { resource:Q616381 property:P39 ?z } } }
cardinal member of the Senate of France archbishop
Cardinal, member of the Senate of France and archbishop were the positions held by Yves Durand or Charles-Philippe Place
cardinal member of the Senate of France archbishop
action filter_type
action union
action find
entity Yves Durand
relation position held
action find
entity Charles-Philippe Place
relation position held
type occupation
{'OR': [['Yves Durand', 'position held', {'concept': 'occupation'}], ['Charles-Philippe Place', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . { { resource:Yves_Durand property:position_held ?z } UNION { resource:Charles-Philippe_Place property:position_held ?z } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q90
P276
Q820655 Q20667921
USER
How many statutes and french administrative divisions are located at Paris ?
(c(Q820655),P276,Q90) (c(Q20667921),P276,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P276
type Q820655
action filter_type
action find_reverse
entity Q90
relation P276
type Q20667921
[{'concept': 'Q820655'}, 'P276', 'Q90'] [{'concept': 'Q20667921'}, 'P276', 'Q90']
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:P276 resource:Q90 . ?b rdf:type ontology:Q820655 } UNION { ?b rdf:type ontology:Q20667921 . ?b property:P276 resource:Q90 } }
Paris
action count
action union
action filter_type
action find_reverse
entity Paris
relation location
type statute
action filter_type
action find_reverse
entity Paris
relation location
type type of french administrative division
[{'concept': 'statute'}, 'location', 'Paris'] [{'concept': 'type of french administrative division'}, 'location', 'Paris']
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:location resource:Paris . ?b rdf:type ontology:statute } UNION { ?b rdf:type ontology:type_of_french_administrative_division . ?b property:location resource:Paris } }
[]
statute type of french administrative division
SYSTEM
25 statutes and 1 french administrative divisions
Q3536855 Q7837177 Q3536857 Q3536856 Q16680907 Q3536853 Q26265670 Q461891 Q3536858 Q1963011 Q3413173 Q724496 Q3536850 Q869785 Q2518881 Q684311 Q2052417 Q3997909 Q394387 Q7137280 Q331520 Q1964075 Q19901716 Q205073 Q21707860 Q25395501
(c(Q820655),P276,Q90) (c(Q20667921),P276,Q90)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P276
type Q820655
action filter_type
action find_reverse
entity Q90
relation P276
type Q20667921
[ANSWER]
[{'concept': 'Q820655'}, 'P276', 'Q90'] [{'concept': 'Q20667921'}, 'P276', 'Q90']
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:P276 resource:Q90 . ?b rdf:type ontology:Q820655 } UNION { ?b rdf:type ontology:Q20667921 . ?b property:P276 resource:Q90 } }
Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris France–Saint Lucia Delimitation Agreement Svalbard Treaty Treaty of Paris Treaty of Paris Plaisance Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Paris Declaration Respecting Maritime Law Paris Agreements Treaty of Paris Treaty of Paris Paris Economy Pact United Nations Convention to Combat Desertification Treaty of Paris Treaty of Paris Kellogg-Briand pact Paris Agreement Treaty of Paris
25 statutes and 1 french administrative divisions
action count
action union
action filter_type
action find_reverse
entity Paris
relation location
type statute
action filter_type
action find_reverse
entity Paris
relation location
type type of french administrative division
[{'concept': 'statute'}, 'location', 'Paris'] [{'concept': 'type of french administrative division'}, 'location', 'Paris']
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:location resource:Paris . ?b rdf:type ontology:statute } UNION { ?b rdf:type ontology:type_of_french_administrative_division . ?b property:location resource:Paris } }
[]