Simple Question (Direct)
Simple Question
Q5084864
P735
Q82799
USER
Which name is Charlie Ford known by ?
(Q5084864,P735,c(Q82799))
action filter_type
action find
entity Q5084864
relation P735
type Q82799
['Q5084864', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5084864 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Charlie Ford
action filter_type
action find
entity Charlie Ford
relation given name
type name
['Charlie Ford', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Charlie_Ford property:given_name ?f . ?f rdf:type ontology:name }
[]
name
Q16275193
SYSTEM
Charlie
Q16275193
(Q5084864,P735,c(Q82799))
action filter_type
action find
entity Q5084864
relation P735
type Q82799
[ANSWER] Ford is known as [ANSWER]
['Q5084864', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q5084864 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Charlie
Charlie Ford is known as Charlie
Charlie
action filter_type
action find
entity Charlie Ford
relation given name
type name
['Charlie Ford', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Charlie_Ford property:given_name ?f . ?f rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16275193 Q5085255
P735
Q502895
USER
Does Charlie Mitchell have that one as first name ?
(Q5085255,P735,Q16275193)
action is_in
entity Q16275193
action find
entity Q5085255
relation P735
['Q5085255', 'P735', 'Q16275193']
ASK WHERE { resource:Q5085255 property:P735 resource:Q16275193 }
Charlie Charlie Mitchell
action is_in
entity Charlie
action find
entity Charlie Mitchell
relation given name
['Charlie Mitchell', 'given name', 'Charlie']
ASK WHERE { resource:Charlie_Mitchell property:given_name resource:Charlie }
[]
common name
SYSTEM
YES
(Q5085255,P735,Q16275193)
action is_in
entity Q16275193
action find
entity Q5085255
relation P735
[ANSWER]
['Q5085255', 'P735', 'Q16275193']
ASK WHERE { resource:Q5085255 property:P735 resource:Q16275193 }
Yes
action is_in
entity Charlie
action find
entity Charlie Mitchell
relation given name
['Charlie Mitchell', 'given name', 'Charlie']
ASK WHERE { resource:Charlie_Mitchell property:given_name resource:Charlie }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q25695405
P361
Q853614 Q151885 Q82799
USER
Which names are a component of around the same number of identifiers or concepts as Curtis ?
(c(Q82799),P361,c(Q853614)|c(Q151885))
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q25695405
relation P361
type Q853614
type Q151885
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?u = ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q25695405 property:P361 ?c . { VALUES ( ?m ) { ( ontology:Q151885 ) ( ontology:Q853614 ) } . ?c rdf:type ?m } } } . { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?u ) WHERE { { ?e property:P361 ?f . ?f rdf:type ontology:Q151885 . ?e rdf:type ontology:Q82799 } UNION { ?e property:P361 ?f . ?e rdf:type ontology:Q82799 . ?f rdf:type ontology:Q853614 } } GROUP BY ?e } }
Curtis
action approx
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Curtis
relation part of
type identifier
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?u = ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Curtis property:part_of ?c . { VALUES ( ?m ) { ( ontology:concept ) ( ontology:identifier ) } . ?c rdf:type ?m } } } . { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?u ) WHERE { { ?e property:part_of ?f . ?f rdf:type ontology:concept . ?e rdf:type ontology:name } UNION { ?e property:part_of ?f . ?e rdf:type ontology:name . ?f rdf:type ontology:identifier } } GROUP BY ?e } }
[]
identifier concept name
Q27352651 Q27350540 Q1915243
SYSTEM
Seon, Sang, McKeown
Q2168099 Q5791319 Q11283653 Q26156283 Q7071783 Q15629245 Q235598 Q16882305 Q1240901 Q24251030 Q1093580 Q742083 Q10145967 Q252216 Q272914 Q2553935 Q18645909 Q15238609 Q25695405 Q24091156 Q20875974 Q3281200 Q26266311 Q10587130 Q15926381 Q19687637 Q21470412 Q21534988 Q21405537 Q26266310 Q12624980 Q2876425 Q5 Q631147 Q27651154 Q26736681 Q27352651 Q15788891 Q4400681 Q12600404 Q21484879 Q24090418 Q382004 Q12601635 Q5461714 Q27350540 Q1399288 Q2491016 Q1557998 Q19831835 Q27450724 Q15711050 Q26736416 Q26736415 Q26741038 Q1915243 Q263542 Q21484914 Q4835658 Q20064977 Q21538548 Q5034376 Q26741034 Q861966
(c(Q82799),P361,c(Q853614)|c(Q151885))
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q25695405
relation P361
type Q853614
type Q151885
[ANSWERS] are a component of around the same number of identifiers or concepts as Curtis
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?u = ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q25695405 property:P361 ?c . { VALUES ( ?m ) { ( ontology:Q151885 ) ( ontology:Q853614 ) } . ?c rdf:type ?m } } } . { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?u ) WHERE { { ?e property:P361 ?f . ?f rdf:type ontology:Q151885 . ?e rdf:type ontology:Q82799 } UNION { ?e property:P361 ?f . ?e rdf:type ontology:Q82799 . ?f rdf:type ontology:Q853614 } } GROUP BY ?e } }
human Rotavirusses Tajinaste Czech family name Whittingstall O'Donovan family lizard Piso Rostopchin praenomen Barnaby Han surname Princes of Paliano Grand Master of the Teutonic Knights Árnadóttir Çubukçubaşı Wedekind Abe nomen Curtis Abe Ševela Tent caterpillar Trimnell Moa He Rahim Tyrell Yaşar Edward Ritchard Hyeon Aïssata human infraspecific name Gottlieb Veit Seon Blake Russian surname Sang Salman Hara Afa-Negus Seon Florida black bass Sang Fearnley orthographical variant Gyalwang Drukpa Qutb Freundel Lu Roveda Roveda Patti McKeown Griffith Clay BIFF Dong Biff Caomhánach Patti dung beetles
Seon, Sang and McKeown are a component of around the same number of identifiers or concepts as Curtis
Seon Sang McKeown
action approx
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Curtis
relation part of
type identifier
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?u = ?o ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Curtis property:part_of ?c . { VALUES ( ?m ) { ( ontology:concept ) ( ontology:identifier ) } . ?c rdf:type ?m } } } . { SELECT DISTINCT ?e ( COUNT ( ?f ) AS ?u ) WHERE { { ?e property:part_of ?f . ?f rdf:type ontology:concept . ?e rdf:type ontology:name } UNION { ?e property:part_of ?f . ?e rdf:type ontology:name . ?f rdf:type ontology:identifier } } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20731004
P361
Q853614 Q151885 Q82799
USER
And what about Crawford?
(c(Q82799),P361,c(Q853614)|c(Q151885))
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q20731004
relation P361
type Q853614
type Q151885
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?p ) WHERE { { ?m property:P361 ?v . ?m rdf:type ontology:Q82799 . ?v rdf:type ontology:Q151885 } UNION { ?m property:P361 ?v . ?m rdf:type ontology:Q82799 . ?v rdf:type ontology:Q853614 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q20731004 property:P361 ?d . { { ?d rdf:type ontology:Q853614 } UNION { ?d rdf:type ontology:Q151885 } } } } . FILTER ( ?p = ?b ) }
Crawford
action approx
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Crawford
relation part of
type identifier
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?p ) WHERE { { ?m property:part_of ?v . ?m rdf:type ontology:name . ?v rdf:type ontology:concept } UNION { ?m property:part_of ?v . ?m rdf:type ontology:name . ?v rdf:type ontology:identifier } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Crawford property:part_of ?d . { { ?d rdf:type ontology:identifier } UNION { ?d rdf:type ontology:concept } } } } . FILTER ( ?p = ?b ) }
[]
identifier concept name
Q16279139 Q19810530 Q21057288
SYSTEM
Máté, Han, Hester
Q19984029 Q23539781 Q16101731 Q16515753 Q27355533 Q22001585 Q26000745 Q26822115 Q19986366 Q19963541 Q20731004 Q27651197 Q21491652 Q21501467 Q27037178 Q21484983 Q12783920 Q27037174 Q27651212 Q12594770 Q27356490 Q1946932 Q21144151 Q20731003 Q27357908 Q18001608 Q26775417 Q20155939 Q26971843 Q27465067 Q18645215 Q12788667 Q19831808 Q27357598 Q21475479 Q24477965 Q21488853 Q21487329 Q24477968 Q24090443 Q20675459 Q21279602 Q1058384 Q16563753 Q21450326 Q21510209 Q25114460 Q27436303 Q21431253 Q20985269 Q27037161 Q355505 Q27037165 Q21498452 Q27037169 Q1513700 Q18515515 Q18808411 Q21492574 Q19688789 Q18844248 Q27678568 Q19311987 Q5646565 Q20089343 Q19672747 Q19828992 Q21043141 Q22673958 Q4082729 Q18171095 Q110874 Q26448488 Q19832245 Q26822136 Q26822137 Q27635577 Q26822132 Q19688838 Q23636060 Q26822155 Q16161715 Q11878943 Q21506948 Q2547055 Q21492983 Q21584287 Q23039002 Q27037119 Q19944848 Q21512664 Q27204774 Q18808940 Q1173421 Q27476988 Q23822720 Q21450808 Q25114459 Q27230306 Q27538384 Q16390676 Q26772804 Q26822160 Q20900701 Q26986281 Q26235096 Q26944932 Q15897047 Q27450778 Q27229561 Q26944931 Q23640302 Q3372303 Q17165817 Q26736729 Q21450395 Q27357173 Q27356099 Q1247793 Q27355703 Q27185681 Q21506801 Q27203015 Q23590373 Q27355517 Q26235204 Q21069157 Q27229604 Q23907762 Q27450583 Q27229563 Q27450587 Q15835964 Q21471177 Q20083701 Q885595 Q27203027 Q1707301 Q26822099 Q27229572 Q24573284 Q27251921 Q26868860 Q20003434 Q26877838 Q26986610 Q21502033 Q26449961 Q21452487 Q1158284 Q16876541 Q16932005 Q27642537 Q27450911 Q12788669 Q23590368 Q13639177 Q27037180 Q19944235 Q804437 Q21450555 Q27670177 Q23041619 Q1620641 Q21130107 Q808994 Q16279139 Q21447940 Q19998957 Q17505763 Q18552178 Q27356272 Q19768404 Q12036851 Q19810530 Q26822081 Q24090532 Q18228388 Q26906549 Q26742856 Q26986918 Q1703599 Q19961051 Q12020943 Q12188082 Q20010325 Q26235099 Q23578592 Q27133109 Q21491435 Q23767331 Q23767330 Q21507872 Q27450606 Q21508944 Q2824680 Q27450608 Q26774382 Q19550817 Q18689509 Q27355496 Q19768398 Q15813147 Q12784475 Q21431135 Q26772911 Q21484692 Q27037157 Q27651236 Q26972674 Q18402175 Q21886149 Q12785732 Q19839042 Q27450686 Q23569212 Q21492540 Q21142292 Q27450728 Q27450834 Q27450836 Q23907739 Q2287331 Q23578587 Q22348139 Q21057288 Q21476618 Q3701009 Q21484521 Q746990 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q21450552 Q19839041 Q27450738 Q27450739 Q876933 Q27131901 Q19582298 Q19688887 Q27450824 Q26220628 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q853614)|c(Q151885))
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
action count
action filter_multi_types
action find
entity Q20731004
relation P361
type Q853614
type Q151885
[ANSWERS]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?p ) WHERE { { ?m property:P361 ?v . ?m rdf:type ontology:Q82799 . ?v rdf:type ontology:Q151885 } UNION { ?m property:P361 ?v . ?m rdf:type ontology:Q82799 . ?v rdf:type ontology:Q853614 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q20731004 property:P361 ?d . { { ?d rdf:type ontology:Q853614 } UNION { ?d rdf:type ontology:Q151885 } } } } . FILTER ( ?p = ?b ) }
Minami Asami Carter Farkas Türkkan Lamont Meta Candan Brodie Cassie Crawford Littleton Esin Olivera Bainbridge Dwyer Abram Bridger Redmond Man Holly Moosa Fedde Crawford Ademola Sylvain Dalibor Clancy Ado Özgen Agostino Fabjan Loren Siemion Ersan Guibert Tyson Hewitt Guibert Matsuo Anania Regan hakham Hunter Jayne Sierra Savva Gisbert Adamou Barrington Hakim Nobiliary particle Abner Kelso Hersey Gerlach Albano Egerton Loui Achim Rowan Sami Yoshihara Han Han Aubrey Shelley Cave Sherman Belarusian surname Armand patronymic Akiyoshi Sami Akilu Řehoř Gruffudd Wito Kaj Cassie Rauf Albin Urban Izumi Walther Regan Jabez Marshall Melvyn Eraydın Redouane Parvin Neil Davern Şentürk Malick Inal Savva Durmuş Fedde Falk Elias Chadi Nolan Seyfi Lillie Apple Percy Shigematsu Köken Apple Britt Mai Warren Olumide Hillis Cave Frenk Kinnon Eden Rickard Herschel Joby Raimond Savin Loudon Mateja Sweeney Florenz Asiedu Robison Mordaunt Mynors Prentice Man Blue Joby Tyler Ademola Aydın Laverne Lamont Cale Marielle Sanusi Addis Browning Takumi Alfonzo Heinz Máté Mai Robbie Mahrez Fabjan Raimond Jean Dalrymple Osborne Bakir Hilbert Ripley Stuart Hisataka Calvert Barry Máté Hester Paltiel Virgil Alonso Golden Courtney Michel Han Amin Minami Leonard Germann Fabiano Sabra Jordan Izumi Hunter James Ganna Lillie Aynsley Arnell Norman Koren Koren Henning Wilf Finlay Ado Haym Chariton Alden Marion Milić Jonas Bas Amos Gill Abbas Neilson Řehoř Sylvester Thijs Bernard Alfonzo Berchtold Cushman Flower Clint Kingsley Gerbrand Greenbury Harouna Henrie Florian Simon Aynsley Ripley Hester Miwa Dale Romaine Brahman Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Hamilton Cushman Keill Moumouni magi Tokiwa Melville Tone Savea Arian Dale Brady Maury Akpan
Máté Han Hester
action approx
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
action count
action filter_multi_types
action find
entity Crawford
relation part of
type identifier
type concept
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?p ) WHERE { { ?m property:part_of ?v . ?m rdf:type ontology:name . ?v rdf:type ontology:concept } UNION { ?m property:part_of ?v . ?m rdf:type ontology:name . ?v rdf:type ontology:identifier } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Crawford property:part_of ?d . { { ?d rdf:type ontology:identifier } UNION { ?d rdf:type ontology:concept } } } } . FILTER ( ?p = ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16279139
P1533
Q82799
USER
Which name is equal to Máté ?
(Q16279139,P1533,c(Q82799))
action filter_type
action find
entity Q16279139
relation P1533
type Q82799
['Q16279139', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q16279139 property:P1533 ?a }
Máté
action filter_type
action find
entity Máté
relation family name identical to this first name
type name
['Máté', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Máté property:family_name_identical_to_this_first_name ?a }
[]
name
Q16876541
SYSTEM
Máté
Q16876541
(Q16279139,P1533,c(Q82799))
action filter_type
action find
entity Q16279139
relation P1533
type Q82799
[ANSWER] is equal to [ANSWER]
['Q16279139', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q16279139 property:P1533 ?a }
Máté
Máté is equal to Máté
Máté
action filter_type
action find
entity Máté
relation family name identical to this first name
type name
['Máté', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Máté property:family_name_identical_to_this_first_name ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16876541
P734
Q502895
USER
Which people have that one as family name ?
(c(Q502895),P734,Q16876541)
action filter_type
action find_reverse
entity Q16876541
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q16876541']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P734 resource:Q16876541 }
Máté
action filter_type
action find_reverse
entity Máté
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Máté']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:family_name resource:Máté }
[]
common name
Q1212689 Q1212710 Q898494
SYSTEM
János Máté, Péter Máté, Péter Máté
Q1212689 Q1212710 Q898494
(c(Q502895),P734,Q16876541)
action filter_type
action find_reverse
entity Q16876541
relation P734
type Q502895
[ANSWERS] have that one as family name
[{'concept': 'Q502895'}, 'P734', 'Q16876541']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P734 resource:Q16876541 }
János Máté Péter Máté Péter Máté
János Máté, Péter Máté and Péter Máté have that one as family name
János Máté Péter Máté Péter Máté
action filter_type
action find_reverse
entity Máté
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Máté']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:family_name resource:Máté }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2573662 Q1212689
P20
Q56061
USER
Which administrative territories did János Máté or Wilhelm Klose die ?
OR((Q1212689,P20,c(Q56061)), (Q2573662,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1212689
relation P20
action find
entity Q2573662
relation P20
type Q56061
{'OR': [['Q1212689', 'P20', {'concept': 'Q56061'}], ['Q2573662', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1212689 property:P20 ?x } UNION { resource:Q2573662 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Wilhelm Klose János Máté
action filter_type
action union
action find
entity János Máté
relation place of death
action find
entity Wilhelm Klose
relation place of death
type administrative territorial entity
{'OR': [['János Máté', 'place of death', {'concept': 'administrative territorial entity'}], ['Wilhelm Klose', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:János_Máté property:place_of_death ?x } UNION { resource:Wilhelm_Klose property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q134494 Q1040
SYSTEM
Győr, Karlsruhe
Q134494 Q1040
OR((Q1212689,P20,c(Q56061)), (Q2573662,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1212689
relation P20
action find
entity Q2573662
relation P20
type Q56061
János Máté or Wilhelm Klose died in [ANSWERS]
{'OR': [['Q1212689', 'P20', {'concept': 'Q56061'}], ['Q2573662', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1212689 property:P20 ?x } UNION { resource:Q2573662 property:P20 ?x } } . ?x rdf:type ontology:Q56061 }
Győr Karlsruhe
János Máté or Wilhelm Klose died in Győr and Karlsruhe
Győr Karlsruhe
action filter_type
action union
action find
entity János Máté
relation place of death
action find
entity Wilhelm Klose
relation place of death
type administrative territorial entity
{'OR': [['János Máté', 'place of death', {'concept': 'administrative territorial entity'}], ['Wilhelm Klose', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:János_Máté property:place_of_death ?x } UNION { resource:Wilhelm_Klose property:place_of_death ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1460691 Q2573662
P27
Q1048835
USER
Which political territories are Wilhelm Klose and Friedrich Laupheimer a civilian of ?
AND((Q2573662,P27,c(Q1048835)), (Q1460691,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q2573662
relation P27
action find
entity Q1460691
relation P27
type Q1048835
{'AND': [['Q2573662', 'P27', {'concept': 'Q1048835'}], ['Q1460691', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q2573662 property:P27 ?r . resource:Q1460691 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Friedrich Laupheimer Wilhelm Klose
action filter_type
action intersection
action find
entity Wilhelm Klose
relation country of citizenship
action find
entity Friedrich Laupheimer
relation country of citizenship
type political territorial entity
{'AND': [['Wilhelm Klose', 'country of citizenship', {'concept': 'political territorial entity'}], ['Friedrich Laupheimer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Wilhelm_Klose property:country_of_citizenship ?r . resource:Friedrich_Laupheimer property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q2573662,P27,c(Q1048835)), (Q1460691,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q2573662
relation P27
action find
entity Q1460691
relation P27
type Q1048835
[ANSWER] is Wilhelm Klose and Friedrich Laupheimer a civilian of
{'AND': [['Q2573662', 'P27', {'concept': 'Q1048835'}], ['Q1460691', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { resource:Q2573662 property:P27 ?r . resource:Q1460691 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Germany
Germany is Wilhelm Klose and Friedrich Laupheimer a civilian of
Germany
action filter_type
action intersection
action find
entity Wilhelm Klose
relation country of citizenship
action find
entity Friedrich Laupheimer
relation country of citizenship
type political territorial entity
{'AND': [['Wilhelm Klose', 'country of citizenship', {'concept': 'political territorial entity'}], ['Friedrich Laupheimer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Wilhelm_Klose property:country_of_citizenship ?r . resource:Friedrich_Laupheimer property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q31629 Q2912397
USER
Which political territories do around the same number of types of sport and single-day races start as that political territory ?
(c(Q31629)|c(Q2912397),P1427,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q31629
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q2912397
action count
action filter_multi_types
action find_reverse
entity Q183
relation P1427
type Q31629
type Q2912397
[[{'concept': 'Q31629'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:P1427 ?u . ?u rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q31629 } UNION { ?b property:P1427 ?u . ?u rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q2912397 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { { ?q rdf:type ontology:Q31629 } UNION { ?q rdf:type ontology:Q2912397 } } . ?q property:P1427 resource:Q183 } } . FILTER ( ?n = ?j ) }
action approx
action union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type type of sport
action find_reverse_tuple_counts
relation start point
type political territorial entity
type single-day race
action count
action filter_multi_types
action find_reverse
entity Germany
relation start point
type type of sport
type single-day race
[[{'concept': 'type of sport'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:start_point ?u . ?u rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:type_of_sport } UNION { ?b property:start_point ?u . ?u rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:single-day_race } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { { ?q rdf:type ontology:type_of_sport } UNION { ?q rdf:type ontology:single-day_race } } . ?q property:start_point resource:Germany } } . FILTER ( ?n = ?j ) }
[]
political territorial entity type of sport single-day race
Q183 Q639412 Q55480
SYSTEM
Germany, Tarazona, Colmenar Viejo
Q1556707 Q55480 Q937763 Q183 Q301437 Q2264671 Q1628379 Q49661 Q536682 Q1765676 Q1442183 Q1766072 Q642046 Q1625868 Q956524 Q488555 Q1375842 Q739495 Q832991 Q474080 Q499184 Q1629539 Q1621191 Q668016 Q490638 Q913277 Q77433 Q601112 Q1374736 Q743741 Q484552 Q564773 Q639412 Q825883 Q1771143 Q987453
(c(Q31629)|c(Q2912397),P1427,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q31629
action find_reverse_tuple_counts
relation P1427
type Q1048835
type Q2912397
action count
action filter_multi_types
action find_reverse
entity Q183
relation P1427
type Q31629
type Q2912397
[ANSWERS] do around the same number of types of sport and single-day races start as that political territory
[[{'concept': 'Q31629'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:P1427 ?u . ?u rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q31629 } UNION { ?b property:P1427 ?u . ?u rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q2912397 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { { ?q rdf:type ontology:Q31629 } UNION { ?q rdf:type ontology:Q2912397 } } . ?q property:P1427 resource:Q183 } } . FILTER ( ?n = ?j ) }
Vila Nova de Cacela Colmenar Viejo Graus Germany Priego de Córdoba El Palomar Mairena del Alcor Mauren Belorado Torredelcampo Sober Santo Domingo de Silos Calahorra Alcañices Maella Baeza Ortigueira Vilanova de Arousa Sóller Amorebieta-Etxano Roquetas de Mar Salvaterra de Miño A Estrada Iurreta Almendralejo Mazarrón Leganés Pollença Lalín Felanitx Algeciras Alhendín Tarazona Valls Carboneras de Guadazaón San Javier
Germany, Tarazona and Colmenar Viejo do around the same number of types of sport and single-day races start as that political territory
Germany Tarazona Colmenar Viejo
action approx
action union
action find_reverse_tuple_counts
relation start point
type political territorial entity
type type of sport
action find_reverse_tuple_counts
relation start point
type political territorial entity
type single-day race
action count
action filter_multi_types
action find_reverse
entity Germany
relation start point
type type of sport
type single-day race
[[{'concept': 'type of sport'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?b ) AS ?n ) WHERE { { ?b property:start_point ?u . ?u rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:type_of_sport } UNION { ?b property:start_point ?u . ?u rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:single-day_race } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { { ?q rdf:type ontology:type_of_sport } UNION { ?q rdf:type ontology:single-day_race } } . ?q property:start_point resource:Germany } } . FILTER ( ?n = ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3296644 Q134494
P27 P17
Q15617994
USER
Which administrative territories are Győr situated in or are the countries of citizenship of Héctor Olivera ?
OR((Q134494,P17,c(Q15617994)), (Q3296644,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q134494
relation P17
action find
entity Q3296644
relation P27
type Q15617994
{'OR': [['Q134494', 'P17', {'concept': 'Q15617994'}], ['Q3296644', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q134494 property:P17 ?y } UNION { resource:Q3296644 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Héctor Olivera Győr
action filter_type
action union
action find
entity Győr
relation country
action find
entity Héctor Olivera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Győr', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Héctor Olivera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Győr property:country ?y } UNION { resource:Héctor_Olivera property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q414
SYSTEM
Hungary, Argentina
Q28 Q414
OR((Q134494,P17,c(Q15617994)), (Q3296644,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q134494
relation P17
action find
entity Q3296644
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q134494', 'P17', {'concept': 'Q15617994'}], ['Q3296644', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q134494 property:P17 ?y } UNION { resource:Q3296644 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Hungary Argentina
Which administrative territories are Győr situated in or are the countries of citizenship of Héctor Olivera
Hungary Argentina
action filter_type
action union
action find
entity Győr
relation country
action find
entity Héctor Olivera
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Győr', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Héctor Olivera', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Győr property:country ?y } UNION { resource:Héctor_Olivera property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with atmost 30 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 30
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?i ) WHERE { ?y property:P530 ?b . ?y rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?i <= 30 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?i ) WHERE { ?y property:diplomatic_relation ?b . ?y rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?i <= 30 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 30
[ANSWERS] have a diplomatic relationship with atmost 30 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?i ) WHERE { ?y property:P530 ?b . ?y rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?i <= 30 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand have a diplomatic relationship with atmost 30 administrative territories
Denmark Austria New Zealand
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?i ) WHERE { ?y property:diplomatic_relation ?b . ?y rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?i <= 30 ) }
[]