Simple Question (Direct)
Simple Question
Q5944922
P27
Q15617994
USER
Which administrative territory is José Ramón Esmorís an inhabitant of ?
(Q5944922,P27,c(Q15617994))
action filter_type
action find
entity Q5944922
relation P27
type Q15617994
['Q5944922', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q5944922 property:P27 ?a }
José Ramón Esmorís
action filter_type
action find
entity José Ramón Esmorís
relation country of citizenship
type designation for an administrative territorial entity
['José Ramón Esmorís', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:José_Ramón_Esmorís property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q5944922,P27,c(Q15617994))
action filter_type
action find
entity Q5944922
relation P27
type Q15617994
[ANSWER] is José Ramón Esmorís an inhabitant of
['Q5944922', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q5944922 property:P27 ?a }
Spain
Spain is José Ramón Esmorís an inhabitant of
Spain
action filter_type
action find
entity José Ramón Esmorís
relation country of citizenship
type designation for an administrative territorial entity
['José Ramón Esmorís', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:José_Ramón_Esmorís property:country_of_citizenship ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5944922
P54
Q12973014
USER
Which sports team is that person a member of ?
(Q29,P54,c(Q12973014))
action filter_type
action find
entity Q5944922
relation P54
type Q12973014
['Q29', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q5944922 property:P54 ?h . ?h rdf:type ontology:Q12973014 }
José Ramón Esmorís
action filter_type
action find
entity José Ramón Esmorís
relation member of sports team
type sports team
['Spain', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:José_Ramón_Esmorís property:member_of_sports_team ?h . ?h rdf:type ontology:sports_team }
[]
sports team
Q3392591
SYSTEM
CB Coruña
Q3392591
(Q29,P54,c(Q12973014))
action filter_type
action find
entity Q5944922
relation P54
type Q12973014
[ANSWER] is that person a member of
['Q29', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q5944922 property:P54 ?h . ?h rdf:type ontology:Q12973014 }
CB Coruña
CB Coruña is that person a member of
CB Coruña
action filter_type
action find
entity José Ramón Esmorís
relation member of sports team
type sports team
['Spain', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:José_Ramón_Esmorís property:member_of_sports_team ?h . ?h rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q473972 Q82794 Q15617994
USER
How many administrative territories are located in exactly 1 protected areas or geographic regions ?
(c(Q15617994),P706,c(Q473972)|c(Q82794))
action count
action equal
action union
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action find_tuple_counts
relation P706
type Q15617994
type Q82794
value 1
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q473972'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?l WHERE { VALUES ( ?b ) { ( ontology:Q82794 ) ( ontology:Q473972 ) } . ?v rdf:type ?b } GROUP BY ?l } . FILTER ( ?s = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type protected area
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'protected area'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?l WHERE { VALUES ( ?b ) { ( ontology:geographic_region ) ( ontology:protected_area ) } . ?v rdf:type ?b } GROUP BY ?l } . FILTER ( ?s = 1 ) }
[]
protected area geographic region designation for an administrative territorial entity
SYSTEM
17
Q24846 Q252320 Q15744129 Q508054 Q1721440 Q252772 Q104192 Q81306 Q1778088 Q494305 Q20837 Q503693 Q507258 Q25082 Q15744111 Q625747 Q2585085
(c(Q15617994),P706,c(Q473972)|c(Q82794))
action count
action equal
action union
action find_tuple_counts
relation P706
type Q15617994
type Q473972
action find_tuple_counts
relation P706
type Q15617994
type Q82794
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q473972'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?l WHERE { VALUES ( ?b ) { ( ontology:Q82794 ) ( ontology:Q473972 ) } . ?v rdf:type ?b } GROUP BY ?l } . FILTER ( ?s = 1 ) }
Juist Pleinfeld Oberscheuren Neu Wulmstorf Kaimig Eichstätt Kleinmachnow Forbach Kochenbach Kelheim Fanø Riedenburg Kipfenberg Borkum Niederscheuren Rangsdorf Wintersberg
17
action count
action equal
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type protected area
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'protected area'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?l WHERE { VALUES ( ?b ) { ( ontology:geographic_region ) ( ontology:protected_area ) } . ?v rdf:type ?b } GROUP BY ?l } . FILTER ( ?s = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P641
Q349 Q12973014
USER
Which sports did exactly 2 sports teams participate in ?
(c(Q12973014),P641,c(Q349))
action equal
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 2
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P641 ?y . ?y rdf:type ontology:Q349 . ?t rdf:type ontology:Q12973014 } GROUP BY ?y } . FILTER ( ?d = 2 ) }
action equal
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 2
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:sport ?y . ?y rdf:type ontology:sport . ?t rdf:type ontology:sports_team } GROUP BY ?y } . FILTER ( ?d = 2 ) }
[]
sport sports team
Q500050 Q754586 Q185851
SYSTEM
cross country running, racquetball, lacrosse
Q500050 Q754586 Q185851 Q130949 Q1199515
(c(Q12973014),P641,c(Q349))
action equal
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 2
Exactly 2 sports teams participated in [ANSWERS]
[{'concept': 'Q12973014'}, 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P641 ?y . ?y rdf:type ontology:Q349 . ?t rdf:type ontology:Q12973014 } GROUP BY ?y } . FILTER ( ?d = 2 ) }
cross country running racquetball lacrosse skiing formula racing
Exactly 2 sports teams participated in cross country running, racquetball and lacrosse
cross country running racquetball lacrosse
action equal
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 2
[{'concept': 'sports team'}, 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:sport ?y . ?y rdf:type ontology:sport . ?t rdf:type ontology:sports_team } GROUP BY ?y } . FILTER ( ?d = 2 ) }
[]