Simple Question (Direct)
Simple Question
Q3590993
P54
Q12973014
USER
Which sports teams are Éric Blais a member of ?
(Q3590993,P54,c(Q12973014))
action filter_type
action find
entity Q3590993
relation P54
type Q12973014
['Q3590993', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q3590993 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Éric Blais
action filter_type
action find
entity Éric Blais
relation member of sports team
type sports team
['Éric Blais', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Éric_Blais property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
sports team
Q367921 Q1060927 Q1493824
SYSTEM
Diables Rouges de Briançon, Chamonix HC, Rapaces de Gap
Q1060927 Q1493824 Q664732 Q652397 Q367921
(Q3590993,P54,c(Q12973014))
action filter_type
action find
entity Q3590993
relation P54
type Q12973014
The [ANSWERS] are Éric Blais a member of
['Q3590993', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q3590993 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Chamonix HC Rapaces de Gap Gothiques d'Amiens Brûleurs de Loups Diables Rouges de Briançon
The Diables Rouges de Briançon, Chamonix HC and Rapaces de Gap are Éric Blais a member of
Diables Rouges de Briançon Chamonix HC Rapaces de Gap
action filter_type
action find
entity Éric Blais
relation member of sports team
type sports team
['Éric Blais', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Éric_Blais property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q367921
P466
Q811979
USER
What was inhabited by Diables Rouges de Briançon ?
(c(Q811979),P466,Q367921)
action filter_type
action find_reverse
entity Q367921
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q367921']
SELECT DISTINCT ?w WHERE { ?w property:P466 resource:Q367921 . ?w rdf:type ontology:Q811979 }
Diables Rouges de Briançon
action filter_type
action find_reverse
entity Diables Rouges de Briançon
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Diables Rouges de Briançon']
SELECT DISTINCT ?w WHERE { ?w property:occupant resource:Diables_Rouges_de_Briançon . ?w rdf:type ontology:architectural_structure }
[]
architectural structure
Q3368775
SYSTEM
Patinoire René Froger
Q3368775
(c(Q811979),P466,Q367921)
action filter_type
action find_reverse
entity Q367921
relation P466
type Q811979
[ANSWER] was inhabited by Diables Rouges de Briançon
[{'concept': 'Q811979'}, 'P466', 'Q367921']
SELECT DISTINCT ?w WHERE { ?w property:P466 resource:Q367921 . ?w rdf:type ontology:Q811979 }
Patinoire René Froger
Patinoire René Froger was inhabited by Diables Rouges de Briançon
Patinoire René Froger
action filter_type
action find_reverse
entity Diables Rouges de Briançon
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Diables Rouges de Briançon']
SELECT DISTINCT ?w WHERE { ?w property:occupant resource:Diables_Rouges_de_Briançon . ?w rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3368775
P17
Q15617994
USER
Which administrative territory is that architectural structure present in ?
(Q3368775,P17,c(Q15617994))
action filter_type
action find
entity Q3368775
relation P17
type Q15617994
['Q3368775', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3368775 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Patinoire René Froger
action filter_type
action find
entity Patinoire René Froger
relation country
type designation for an administrative territorial entity
['Patinoire René Froger', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Patinoire_René_Froger property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3368775,P17,c(Q15617994))
action filter_type
action find
entity Q3368775
relation P17
type Q15617994
That architectural structure is from [ANSWER]
['Q3368775', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3368775 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
France
That architectural structure is from France
France
action filter_type
action find
entity Patinoire René Froger
relation country
type designation for an administrative territorial entity
['Patinoire René Froger', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Patinoire_René_Froger property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3467018 Q367921
P17
Q15617994
USER
Which administrative territories are Diables Rouges de Briançon or Käpa located in ?
OR((Q367921,P17,c(Q15617994)), (Q3467018,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q367921
relation P17
action find
entity Q3467018
relation P17
type Q15617994
{'OR': [['Q367921', 'P17', {'concept': 'Q15617994'}], ['Q3467018', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q3467018 property:P17 ?s } UNION { resource:Q367921 property:P17 ?s } } }
Käpa Diables Rouges de Briançon
action filter_type
action union
action find
entity Diables Rouges de Briançon
relation country
action find
entity Käpa
relation country
type designation for an administrative territorial entity
{'OR': [['Diables Rouges de Briançon', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Käpa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Käpa property:country ?s } UNION { resource:Diables_Rouges_de_Briançon property:country ?s } } }
[]
designation for an administrative territorial entity
Q142 Q191
SYSTEM
France, Estonia
Q142 Q191
OR((Q367921,P17,c(Q15617994)), (Q3467018,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q367921
relation P17
action find
entity Q3467018
relation P17
type Q15617994
Diables Rouges are located in [ANSWERS]
{'OR': [['Q367921', 'P17', {'concept': 'Q15617994'}], ['Q3467018', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q3467018 property:P17 ?s } UNION { resource:Q367921 property:P17 ?s } } }
France Estonia
Diables Rouges are located in France and Estonia
France Estonia
action filter_type
action union
action find
entity Diables Rouges de Briançon
relation country
action find
entity Käpa
relation country
type designation for an administrative territorial entity
{'OR': [['Diables Rouges de Briançon', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Käpa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Käpa property:country ?s } UNION { resource:Diables_Rouges_de_Briançon property:country ?s } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q331647
P17
Q820655
USER
Are Agreement on Trade-Related Aspects of Intellectual Property Rights located in those administrative territories ?
(Q331647,P17,Q142) (Q331647,P17,Q191)
action is_in
entity prev_answer
action find
entity Q331647
relation P17
['Q331647', 'P17', 'Q142'] ['Q331647', 'P17', 'Q191']
ASK WHERE { resource:Q331647 property:P17 ?n . VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q191 ) } }
Agreement on Trade-Related Aspects of Intellectual Property Rights
action is_in
entity prev_answer
action find
entity Agreement on Trade-Related Aspects of Intellectual Property Rights
relation country
['Agreement on Trade-Related Aspects of Intellectual Property Rights', 'country', 'France'] ['Agreement on Trade-Related Aspects of Intellectual Property Rights', 'country', 'Estonia']
ASK WHERE { resource:Agreement_on_Trade-Related_Aspects_of_Intellectual_Property_Rights property:country ?n . VALUES ( ?n ) { ( resource:France ) ( resource:Estonia ) } }
[]
statute
SYSTEM
NO
(Q331647,P17,Q142) (Q331647,P17,Q191)
action is_in
entity prev_answer
action find
entity Q331647
relation P17
[ANSWER]
['Q331647', 'P17', 'Q142'] ['Q331647', 'P17', 'Q191']
ASK WHERE { resource:Q331647 property:P17 ?n . VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q191 ) } }
No
action is_in
entity prev_answer
action find
entity Agreement on Trade-Related Aspects of Intellectual Property Rights
relation country
['Agreement on Trade-Related Aspects of Intellectual Property Rights', 'country', 'France'] ['Agreement on Trade-Related Aspects of Intellectual Property Rights', 'country', 'Estonia']
ASK WHERE { resource:Agreement_on_Trade-Related_Aspects_of_Intellectual_Property_Rights property:country ?n . VALUES ( ?n ) { ( resource:France ) ( resource:Estonia ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P463
Q484652
USER
What international organizations were France a member of ?
(Q142,P463,c(Q484652))
action filter_type
action find
entity Q142
relation P463
type Q484652
['Q142', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?d WHERE { resource:Q142 property:P463 ?d . ?d rdf:type ontology:Q484652 }
France
action filter_type
action find
entity France
relation member of
type international organization
['France', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?d WHERE { resource:France property:member_of ?d . ?d rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q42262
SYSTEM
Organization for Security and Co-operation in Europe, G20, European Space Agency
Q81299 Q1065 Q19771 Q188822 Q37143 Q134102 Q7184 Q42262 Q1043527
(Q142,P463,c(Q484652))
action filter_type
action find
entity Q142
relation P463
type Q484652
France were the [ANSWERS]
['Q142', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?d WHERE { resource:Q142 property:P463 ?d . ?d rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations G20 Asian Development Bank G8 Organisation internationale de la Francophonie North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
France were the Organization for Security and Co-operation in Europe, G20 and European Space Agency
Organization for Security and Co-operation in Europe G20 European Space Agency
action filter_type
action find
entity France
relation member of
type international organization
['France', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?d WHERE { resource:France property:member_of ?d . ?d rdf:type ontology:international_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q556218
Q484652
USER
And what about Egidijus Klumbys?
(Q556218,P463,c(Q484652))
action filter_type
action find
entity Q556218
relation P463
type Q484652
['Q556218', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?e WHERE { resource:Q556218 property:P463 ?e . ?e rdf:type ontology:Q484652 }
Egidijus Klumbys
action filter_type
action find
entity Egidijus Klumbys
relation member of
type international organization
['Egidijus Klumbys', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?e WHERE { resource:Egidijus_Klumbys property:member_of ?e . ?e rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q556218,P463,c(Q484652))
action filter_type
action find
entity Q556218
relation P463
type Q484652
[ANSWER]
['Q556218', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?e WHERE { resource:Q556218 property:P463 ?e . ?e rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Egidijus Klumbys
relation member of
type international organization
['Egidijus Klumbys', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?e WHERE { resource:Egidijus_Klumbys property:member_of ?e . ?e rdf:type ontology:international_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6015591 Q81299
P159
Q56061
USER
Which administrative territories are the headquarters of Organization for Security and Co-operation in Europe or Incyte located ?
OR((Q81299,P159,c(Q56061)), (Q6015591,P159,c(Q56061)))
action filter_type
action union
action find
entity Q81299
relation P159
action find
entity Q6015591
relation P159
type Q56061
{'OR': [['Q81299', 'P159', {'concept': 'Q56061'}], ['Q6015591', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { VALUES ( ?k ) { ( resource:Q6015591 ) ( resource:Q81299 ) } . ?k property:P159 ?a } }
Incyte Organization for Security and Co-operation in Europe
action filter_type
action union
action find
entity Organization for Security and Co-operation in Europe
relation headquarters location
action find
entity Incyte
relation headquarters location
type administrative territorial entity
{'OR': [['Organization for Security and Co-operation in Europe', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Incyte', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { VALUES ( ?k ) { ( resource:Incyte ) ( resource:Organization_for_Security_and_Co-operation_in_Europe ) } . ?k property:headquarters_location ?a } }
[]
administrative territorial entity
Q1741 Q174224
SYSTEM
Vienna, Wilmington
Q1741 Q174224
OR((Q81299,P159,c(Q56061)), (Q6015591,P159,c(Q56061)))
action filter_type
action union
action find
entity Q81299
relation P159
action find
entity Q6015591
relation P159
type Q56061
[ANSWERS] are the headquarters of Organization for Security and Co-operation in Europe or Incyte located
{'OR': [['Q81299', 'P159', {'concept': 'Q56061'}], ['Q6015591', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { VALUES ( ?k ) { ( resource:Q6015591 ) ( resource:Q81299 ) } . ?k property:P159 ?a } }
Vienna Wilmington
Vienna and Wilmington are the headquarters of Organization for Security and Co-operation in Europe or Incyte located
Vienna Wilmington
action filter_type
action union
action find
entity Organization for Security and Co-operation in Europe
relation headquarters location
action find
entity Incyte
relation headquarters location
type administrative territorial entity
{'OR': [['Organization for Security and Co-operation in Europe', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Incyte', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { VALUES ( ?k ) { ( resource:Incyte ) ( resource:Organization_for_Security_and_Co-operation_in_Europe ) } . ?k property:headquarters_location ?a } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P3279
Q502895 Q13406554 Q18608583
USER
Which people were the statistical leader of max number of sport competitions or recurring sporting events ?
(c(Q13406554)|c(Q18608583),P3279,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } GROUP BY ?u } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { { ?o property:P3279 ?n . ?o rdf:type ontology:Q13406554 . ?n rdf:type ontology:Q502895 } UNION { ?o property:P3279 ?n . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q18608583 } } GROUP BY ?n } . FILTER ( ?m = ?c ) }
action argmax
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } GROUP BY ?u } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { { ?o property:statistical_leader ?n . ?o rdf:type ontology:sport_competition . ?n rdf:type ontology:common_name } UNION { ?o property:statistical_leader ?n . ?n rdf:type ontology:common_name . ?o rdf:type ontology:recurring_sporting_event } } GROUP BY ?n } . FILTER ( ?m = ?c ) }
[]
common name sport competition recurring sporting event
Q41421 Q351862
SYSTEM
Michael Jordan, Sotiris Kaiafas
Q41421 Q351862
(c(Q13406554)|c(Q18608583),P3279,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q13406554
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
[ANSWERS] were the statistical leader of max number of sport competitions or recurring sporting events
[[{'concept': 'Q13406554'}, {'concept': 'Q18608583'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13406554 ) ( ontology:Q18608583 ) } } GROUP BY ?u } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { { ?o property:P3279 ?n . ?o rdf:type ontology:Q13406554 . ?n rdf:type ontology:Q502895 } UNION { ?o property:P3279 ?n . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q18608583 } } GROUP BY ?n } . FILTER ( ?m = ?c ) }
Michael Jordan Sotiris Kaiafas
Michael Jordan and Sotiris Kaiafas were the statistical leader of max number of sport competitions or recurring sporting events
Michael Jordan Sotiris Kaiafas
action argmax
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type sport competition
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
[[{'concept': 'sport competition'}, {'concept': 'recurring sporting event'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?c ) { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?r ) WHERE { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:sport_competition ) ( ontology:recurring_sporting_event ) } } GROUP BY ?u } } . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?m ) WHERE { { ?o property:statistical_leader ?n . ?o rdf:type ontology:sport_competition . ?n rdf:type ontology:common_name } UNION { ?o property:statistical_leader ?n . ?n rdf:type ontology:common_name . ?o rdf:type ontology:recurring_sporting_event } } GROUP BY ?n } . FILTER ( ?m = ?c ) }
[]